package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.isfd.domain.IsfdAcousticsIsotropicSolidMaterial;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 声学固体材料视图对象 isfd_acoustics_isotropic_solid_material
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdAcousticsIsotropicSolidMaterial.class)
public class IsfdAcousticsIsotropicSolidMaterialVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 对象存储主键
     */
    @ExcelProperty(value = "对象存储主键")
    private Long id;

    /**
     * 材料名称
     */
    @ExcelProperty(value = "材料名称")
    private String materialName;

    /**
     * 泊松比实部
     */
    @ExcelProperty(value = "泊松比实部")
    private Double poissonRatioReal;

    /**
     * 泊松比虚部
     */
    @ExcelProperty(value = "泊松比虚部")
    private Double poissonRatioImag;

    /**
     * 泊松比
     */
    @ExcelProperty(value = "泊松比")
    private String poissonRatio;

    public String getPoissonRatio() {
        return "{" + this.poissonRatioReal + "," + this.poissonRatioImag + "}";
    }

    /**
     * 固体密度实部(kg/m³)
     */
    @ExcelProperty(value = "固体密度实部(kg/m³)")
    private Double solidDensityReal;

    /**
     * 固体密度虚部(kg/m³)
     */
    @ExcelProperty(value = "固体密度虚部(kg/m³)")
    private Double solidDensityImag;

    /**
     * 固体密度
     */
    @ExcelProperty(value = "固体密度")
    private String solidDensity;

    public String getSolidDensity() {
        return "{" + this.solidDensityReal + "," + this.solidDensityImag + "}";
    }

    /**
     * 杨氏模量实部(Pa)
     */
    @ExcelProperty(value = "杨氏模量实部(Pa)")
    private Double youngModulusReal;

    /**
     * 杨氏模量虚部(Pa)
     */
    @ExcelProperty(value = "杨氏模量虚部(Pa)")
    private Double youngModulusImag;

    /**
     * 杨氏模量
     */
    @ExcelProperty(value = "杨氏模量")
    private String youngModulus;

    public String getYoungModulus() {
        return "{" + this.youngModulusReal + "," + this.youngModulusImag + "}";
    }

    /**
     * 单位系统
     */
    @ExcelProperty(value = "单位系统")
    private String unitSystem;

    /**
     * 原始文件地址
     */
    @ExcelProperty(value = "原始文件地址")
    private String url;


}
